package com.example.qxfw.dzzh.service.impl;

import com.example.qxfw.common.entity.DisasterType;
import com.example.qxfw.dzzh.mapper.DisasterTypeMapper;
import com.example.qxfw.dzzh.service.DisasterTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class DisasterTypeServiceImpl implements DisasterTypeService {

    @Autowired
    private DisasterTypeMapper disasterTypeMapper;

    @Override
    public List<DisasterType> list() {
        return disasterTypeMapper.selectList(null);
    }
}
